1回のAPIコールで、複数のEVMチェーンにまたがるネイティブトークン、ERC20、ERC721、ERC1155トークンの一覧と残高を取得できます。
Sequence IndexerGetTokenBalances Method:
- Request: POST /rpc/Indexer/GetTokenBalances
- Content-Type: application/json
- ボディ(JSON形式):
accountAddress(string) — the wallet account addressincludeMetadata(boolean - optional - default: false) — toggle token metadata to be included in the responsemetadataOptions(object - optional) — additional options for metadataverifiedOnly(boolean - optional) — return only contracts which are ‘verified’ to help reduce spamincludeContracts([]string - optional) — list of specific contract addresses to always be included, even if verifiedOnly is enabled.
includeCollectionTokens(boolean - optional - default: true) — toggle to represent ERC721 / ERC1155 tokens as a single summary item in the response